classdef MyClassExample2
    properties
        prop
    end

    methods
        function obj = MyClassExample2(a)
            obj;
        end

        function output = test_localfunctions(obj)
            output = localfunctions();
        end

        function out = vertcat(obj, other)
            obj
            other
            other = MyClassExample2(1);
            other.prop = 100;
            out = [obj, other];
        end

        function out = test_overload(obj)
            out = 'my_exmample overload';
        end

        function out = char(obj)
            out = 'char of obj';
        end

        function out = srcipt_for_overload(obj)
            out = 'srcipt_for_overload of obj';
        end

        function R = get.prop(obj)
            R = 1;
        end
    end
end